package com.fare.taluo.vo.adapter;

import java.io.File;
import java.sql.Blob;
import java.text.SimpleDateFormat;
import java.util.Date;

public class AdapterVO {
	private Long id;
	private Long sourceID;
	private String sourceName;
	private String adapterClassName;
	private Integer isenable;
	private Integer priority;
	private Date creattime;
	private String creattimeStr;
	private Date upDataTime;
	private String upDataTimeStr;
	private String remarks;
	private String version;
	private Long adapterUploadId;
	private File adapterFile;
	private Blob blob;
	private static SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	public Date getUpDataTime() {
		return upDataTime;
	}
	public void setUpDataTime(Date upDataTime) {
		this.upDataTime = upDataTime;
		if(upDataTime!=null){
			this.upDataTimeStr=sdf.format(upDataTime);
		}
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getSourceID() {
		return sourceID;
	}
	public void setSourceID(Long sourceID) {
		this.sourceID = sourceID;
	}
	public String getSourceName() {
		return sourceName;
	}
	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}
	public String getAdapterClassName() {
		return adapterClassName;
	}
	public void setAdapterClassName(String adapterClassName) {
		this.adapterClassName = adapterClassName;
	}
	public Integer getIsenable() {
		return isenable;
	}
	public void setIsenable(Integer isenable) {
		this.isenable = isenable;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Date getCreattime() {
		return creattime;
	}
	public void setCreattime(Date creattime) {
		this.creattime = creattime;
		if(creattime!=null){
			this.creattimeStr=sdf.format(creattime);
		}
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public Long getAdapterUploadId() {
		return adapterUploadId;
	}
	public void setAdapterUploadId(Long adapterUploadId) {
		this.adapterUploadId = adapterUploadId;
	}
	public File getAdapterFile() {
		return adapterFile;
	}
	public void setAdapterFile(File adapterFile) {
		this.adapterFile = adapterFile;
	}
	public String getCreattimeStr() {
		return creattimeStr;
	}
	public String getUpDataTimeStr() {
		return upDataTimeStr;
	}
	public Blob getBlob() {
		return blob;
	}
	public void setBlob(Blob blob) {
		this.blob = blob;
	}
	
	
	
}
